<div class="bread">
<ul class="br">
	<li class="home"><a href="<?php echo URLUltil::adminPage($this->getContext());?>">DashBoard</a></li>
	<li><?php echo $this->getControllerName()?> Manager</li>
</ul>
</div>
<div class = "xleft">
	<div class = "xtile" style="background: #1F8DC9;">
		<div class="xxtop">	
			<img height="85px" alt="dkm" src="<?php echo $this->getImageUrl().'12'?>.png">
			<a href="<?php echo URLUltil::controllerSearch($this->getContext(), "News")?>" class = "a1">Danh sách</a>
			<a href="<?php echo URLUltil::controllerCreate($this->getContext(), "News")?>" class = "a2">Thêm</a>
		</div>
		<div class="xxbot">
			<span>Bài viết</span>
			<span class = "xxx"><?php echo $this->newsCount?></span>
		</div>
	</div>	
	<div class = "xtile" style="background: #33B6EA;">
		<div class = "xxtop">	
			<img height="85px" alt="dkm" src="<?php echo $this->getImageUrl().'10'?>.png">
			<a href="<?php echo URLUltil::controllerSearch($this->getContext(), "NewsCat")?>" class = "a1">Danh sách</a>
			<a href="<?php echo URLUltil::controllerCreate($this->getContext(), "NewsCat")?>" class = "a2">Thêm</a>
		</div>
		<div class = "xxbot">
			<span>Danh mục</span>
			<span class = "xxx"><?php echo $this->newsCatCount?></span>
		</div>
	</div>	
</div>
<div class = "xright">
	<div class = "xtop">
		<h3>Top 10 bài viết hot nhất</h3>
		<ul>
		<?php 
		foreach ($this->topHotNew as $value){
			echo '<li><a href="'.$value['link'].'">'.$value[News::NAME].'</a></li>';
		}?>
		</ul>
	</div>
	<div class = "xbot">
		<h3>Top 10 bài viết mới nhất</h3>
		<ul>
		<?php 
		foreach ($this->top10New as $value){
			echo '<li><a href="'.$value['link'].'">'.$value[News::NAME].'</a></li>';
		}
		?>
		</ul>
	</div>
</div>
